function countReducer(count=0,action){
    if(action.type==="add"){
        return count+action.payload
    }
    return count
}
export default countReducer